package com.director.core;

import org.apache.commons.lang.StringUtils;

/**
 * @author Simone Ricciardi
 * @version 1.0, 01/09/2011
 */
public class RemotingProviderIdGenerator implements ProviderIdGenerator{

   public String generateId(String namespace) {
      String ns = StringUtils.isBlank(namespace) ? "" : namespace+"-";
      return String.format("%sremoting-provider", ns);
   }
}
